package com.spsoft.vatoutinv.model.dto;

import com.spsoft.core.model.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 测试dto
 *
 * @author cdl
 * @date 2023/11/02
 */
@ApiModel(value = "测试参数对象")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TestDto extends PageDto {

    /** 名称 */
    @NotNull(message="名称不能为空")
    @ApiModelProperty(name = "名称",notes = "名称",required = true)
    private String name ;
}
